package com.xiaoq.user.endpoint;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModelProperty;

@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class VCodeVo {

	@ApiModelProperty(value = "图形验证码的令牌，使用图形验证码时作为参数一同传递")
	private String key;
	
	@ApiModelProperty(value = "图形验证码JPG的Base64表示")
	private String code;
	
	
	
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public VCodeVo() {
		
	}
	
	public VCodeVo(String key, String code) {
		this.key = key;
		this.code = code;
	}
}
